<?php

namespace app\models\user\gr;

use Yii;

/**
 * This is the model class for table "{{%users_zhengjianshangchuan_gr}}".
 *
 * @property int $id
 * @property int|null $uid 和用户uid对应
 * @property string|null $benren 本人
 * @property string|null $shenfenzhengzhengmian 身份证正面
 * @property string|null $shenfenzhengfanmian 身份证反面
 * @property string|null $biyezheng 毕业证
 * @property string|null $jiangzhuangzhao 奖状照
 * @property string|null $jiehunzheng 结婚证
 * @property string|null $jiashizheng 驾驶证
 * @property int $time 创建时间
 */
class Users_zhengjianshangchuan_GrModel extends \app\models\BaseUserModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%users_zhengjianshangchuan_gr}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['uid', 'time'], 'integer'],
            [['benren', 'shenfenzhengzhengmian', 'shenfenzhengfanmian', 'biyezheng', 'jiangzhuangzhao', 'jiehunzheng', 'jiashizheng'], 'string', 'max' => 255],
            [['uid'], 'unique'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'uid' => 'Uid',
            'benren' => 'Benren',
            'shenfenzhengzhengmian' => 'Shenfenzhengzhengmian',
            'shenfenzhengfanmian' => 'Shenfenzhengfanmian',
            'biyezheng' => 'Biyezheng',
            'jiangzhuangzhao' => 'Jiangzhuangzhao',
            'jiehunzheng' => 'Jiehunzheng',
            'jiashizheng' => 'Jiashizheng',
            'time' => 'Time',
        ];
    }
}
